package com.ssd.api.couponAndIntegral;

import com.ssd.api.couponAndIntegral.dto.PointsRecordDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


@FeignClient(name = "couponIntegral-service", url = "http://localhost:9020/couponIntegral-service/inner/pointsRecord")
public interface PointsRecordApi {



    /**
     * 消费新增积分
     */
    @PostMapping ("/save/add")
    public Boolean addRecord(@RequestBody PointsRecordDTO pointsRecordDTO);

}
